package com.ysd.service.enums;

/**
 * 闹钟设备交互枚举类
 */
public enum ClockInteractionEnum {

    /**
     * 类别
     */
    ADD_CLOCK(1, "添加闹钟"),
    DELETE_CLOCK(2, "删除闹钟"),
    LIGHT_SWITCH(3,"灯光开关"),
    HOURLY_BROADCAST_SWITCH(4,"整点播报开关"),
    COLOR_SETTING(5,"颜色设置"),
    BRIGHTNESS_SETTING(6,"亮度设置"),
    SET_ALARM_TIME(7,"闹钟时间设置"),
    WEATHER_PUSH(8,"天气信息"),
    RELAY1_SWITCH(9,"未知按钮1"),
    RELAY2_SWITCH(10,"未知按钮2"),
    RELAY3_SWITCH(11,"未知按钮3"),
    POWER_SWITCH_LEFT(12,"电源开关左"),
    POWER_SWITCH_RIGHT(13,"电源开关右"),;

    /**
     * 状态
     */
    private int type;

    /**
     * 备注
     */
    private String remark;

    ClockInteractionEnum(final int type, final String remark) {
        this.type = type;
        this.remark = remark;
    }

    public int getTypeCode() {
        return type;
    }

    public String getRemark() {
        return remark;
    }

    @Override
    public String toString() {
        return type + ":" + remark;
    }
}
